import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import {HttpClientModule} from "@angular/common/http";
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import {SharedModule} from "./shared/shared.model";
import { AuthComponent } from './pages/auth/auth.component';
import { BookComponent } from './pages/book/book.component';
import { BorrowComponent } from './pages/borrow/borrow.component';
import {FormsModule} from "@angular/forms";
import {ConfirmationService} from "primeng/api";

@NgModule({
  declarations: [
    AppComponent,
    AuthComponent,
    BookComponent,
    BorrowComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    BrowserAnimationsModule,
    SharedModule,
    FormsModule,
  ],
  providers: [ConfirmationService],
  bootstrap: [AppComponent]
})
export class AppModule { }
